import { inject } from "vue";
export interface LoadingBar {
  start(): void;
  finish(): void;
  error(): void;
}
export const loadingBarInjectKey: InjectionKey<LoadingBar> = Symbol();

export default () => inject(loadingBarInjectKey);
